package com.csu.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csu.mall.product.entity.SpuInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author zhenhuanli
 * @email 743879362@qq.com
 * @date 2022-09-16 11:42:54
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    Long insertSpuInfo(SpuInfoEntity spuInfo);

    void updateStatus(@Param("spuId") Long spuId, @Param("status") Long status);

}
